package com.husd.leetcode.tree;

import com.husd.leetcode.entry.TreeNode;

/**
 * 树的接口
 */
public interface Tree {

    public void insert(int value);

    public void delete(int value);

    public TreeNode find(TreeNode root, int value);

    public int depth(TreeNode root);

}
